export var chatChannels:{[key:string]:(msg:string)=>Promise<void>}={}
export function addChatChannel(name:string){
    return function(target: any, propertyName: string){
        chatChannels[name]=target[propertyName];
    }
}
